package com.expoente.model;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * Line Information model.
 *
 */
public class LineInformation implements Serializable {

	private static final long serialVersionUID = 1L;

	private Line line;
	private List<Place> places;

	public Line getLine() {
		return line;
	}

	public void setLine(Line line) {
		this.line = line;
	}

	public List<Place> getPlaces() {
		return places;
	}

	public void setPlaces(List<Place> places) {
		this.places = places;
	}

	@Override
	public String toString() {
		return this.getLine().getName();
	}
}
